package com.zr.service;

import com.zr.model.Role;
import com.zr.model.User;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public interface UserService {
	
   /**
    * 查询是否有该用户
    * @param user
    * @return  用户信息
    */
	public User findUserByuserNameanduserPsw(User user);

	
	public Role findrole(int rid);
	public JSONArray findfuns(int pid,String funcs);
	
	
	
	
}
